package com.cs157a.dao;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;

/**
 * Data object class for the RADCRX table.
 * 
 * @author Hiep
 * 
 */
public class Radcrx {

	private int rlink;
	private String ars1;
	private String ars2;
	private String ars3;
	private String ars4;
	private String mod1;
	private String mod2;
	private String mod3;
	private String mod4;
	private String beh1;
	private String beh2;
	private String beh3;
	private String beh4;
	private String dan1;
	private String dan2;
	private String dan3;
	private String dan4;

	public String toString() {
		return "\n" + getArsList() + "\n" + getBehList() + "\n" + getDanList()
				+ "\n" + getModList();
	}

	public ArrayList<String> getArsList() {
		ArrayList<String> arsSet = new ArrayList<String>();
		arsSet.add(ars1);
		arsSet.add(ars2);
		arsSet.add(ars3);
		arsSet.add(ars4);

		return arsSet;
	}

	public ArrayList<String> getBehList() {
		ArrayList<String> behSet = new ArrayList<String>();
		behSet.add(beh1);
		behSet.add(beh2);
		behSet.add(beh3);
		behSet.add(beh4);

		return behSet;
	}

	public ArrayList<String> getDanList() {
		ArrayList<String> danSet = new ArrayList<String>();
		danSet.add(dan1);
		danSet.add(dan2);
		danSet.add(dan3);
		danSet.add(dan4);

		return danSet;
	}

	public ArrayList<String> getModList() {
		ArrayList<String> modSet = new ArrayList<String>();
		modSet.add(mod1);
		modSet.add(mod2);
		modSet.add(mod3);
		modSet.add(mod4);

		return modSet;
	}

	public int getRlink() {
		return rlink;
	}

	public void setRlink(int rlink) {
		this.rlink = rlink;
	}

	public String getArs1() {
		return ars1;
	}

	public void setArs1(String ars1) {
		this.ars1 = ars1;

	}

	public String getArs2() {
		return ars2;
	}

	public void setArs2(String ars2) {
		this.ars2 = ars2;
	}

	public String getArs3() {
		return ars3;
	}

	public void setArs3(String ars3) {
		this.ars3 = ars3;
	}

	public String getArs4() {
		return ars4;
	}

	public void setArs4(String ars4) {
		this.ars4 = ars4;
	}

	public String getMod1() {
		return mod1;
	}

	public void setMod1(String mod1) {
		this.mod1 = mod1;
	}

	public String getMod2() {
		return mod2;
	}

	public void setMod2(String mod2) {
		this.mod2 = mod2;
	}

	public String getMod3() {
		return mod3;
	}

	public void setMod3(String mod3) {
		this.mod3 = mod3;
	}

	public String getMod4() {
		return mod4;
	}

	public void setMod4(String mod4) {
		this.mod4 = mod4;
	}

	public String getBeh1() {
		return beh1;
	}

	public void setBeh1(String beh1) {
		this.beh1 = beh1;
	}

	public String getBeh2() {
		return beh2;
	}

	public void setBeh2(String beh2) {
		this.beh2 = beh2;
	}

	public String getBeh3() {
		return beh3;
	}

	public void setBeh3(String beh3) {
		this.beh3 = beh3;
	}

	public String getBeh4() {
		return beh4;
	}

	public void setBeh4(String beh4) {
		this.beh4 = beh4;
	}

	public String getDan1() {
		return dan1;
	}

	public void setDan1(String dan1) {
		this.dan1 = dan1;
	}

	public String getDan2() {
		return dan2;
	}

	public void setDan2(String dan2) {
		this.dan2 = dan2;
	}

	public String getDan3() {
		return dan3;
	}

	public void setDan3(String dan3) {
		this.dan3 = dan3;
	}

	public String getDan4() {
		return dan4;
	}

	public void setDan4(String dan4) {
		this.dan4 = dan4;
	}

}
